from django.db import models

# Create your models here.
class UserModel(models.Model):
    username=models.CharField(max_length=12,unique=True,blank=True,default=True)
    password=models.CharField(max_length=12,blank=True,null=True)
    email=models.CharField(max_length=20,blank=True,null=True)
    phone=models.CharField(max_length=11,blank=True,null=True)
    score=models.IntegerField(default=0)
    class Meta:
        db_table='user'
    def __str__(self):
        return self.username